﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SteroMood
{
    public static class Extensions
    {
        public static string ToUpperFirstCase(this String str)
        {
            // Check for empty string.
            if (string.IsNullOrEmpty(str))
            {
                return string.Empty;
            }
            // Return char and concat substring.
            return char.ToUpper(str[0]) + str.Substring(1);
        }
    }
}
